Stop object used in PTV Drive&Arrive.
| field | type | suggested length/ format | mandatory | description |
|---|---|---|---|---|
| coordinate | coordinate | (x) | coordinate in WGS 84. Either coordinate or locationId must be set | |
| locationId | string | (x) | id of an existing location. Either coordinate or locationId must be set | |
| earliestArrivalTime | string | YYYY-MM-DDThh:mm:ss.0000000+hh:mm | start of time window at the specific stop The date must not be before 1970-01-01T00:00:00+00:00 and not after 2037-12-31T23:59:59+00:00 |
|
| latestDepartureTime | string | YYYY-MM-DDThh:mm:ss.0000000+hh:mm | end of time window at the specific stop The date must not be before 1970-01-01T00:00:00+00:00 and not after 2037-12-31T23:59:59+00:00 |
|
| pta | string | YYYY-MM-DDThh:mm:ss.0000000+hh:mm | planned time of arrival - for informative purpose only |
|
| serviceTimeAtStop | integer | x |
service time of driver X at stop in seconds TODO: everytime 0 is a bad idea |
|
| useServicePeriodForRecreation | boolean | x | "true" if service time can be used as rest time, otherwise "false" | |
| weightWhenLeavingStop | integer | x | truck weight when leaving stop in kg | |
| stopPositionInTour | integer |
sequence number of this stop in a tour.
Examples to describe the behaviour of stopPositionInTour using different API methods POST /em/tour/, PUT /em/tour/ and PUT /em/stop/. Example 1:
Example 2:
Example 3:
To decide if stopPositionInTour is used or not, we consider the /em/tour/ POST.
|
||
| customData | object |
a JSON object with arbitrary data If customData.address.label is set this will be visualized in other components of PTV Drive&Arrive. |
||
| scemid | string | "XXXXXXXXXX" | system created unique identifier of stop |
© 2025 PTV Logistics GmbH | Imprint